package com.ecoolex.ying.space.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.ying.space.core.mapper.WholeHouseCaseMapper;
import com.ecoolex.ying.space.entity.WholeHouseCase;

public interface WholeHouseCaseDAO extends WholeHouseCaseMapper {
	
	WholeHouseCase getWholeHouseCaseByOutsourcingPackagedId(@Param("outsourcingPackagedId") Integer outsourcingPackagedId);
	
	List<WholeHouseCase> listWholeHouseCaseByOutsourcingGoodsId(@Param("outsourcingGoodsId") Integer outsourcingGoodsId,@Param("size") Integer size);

	long countByOutsourcingGoodsId(@Param("outsourcingGoodsId") Integer outsourcingGoodsId);
	
	List<WholeHouseCase> queryByOutsourcingGoodsId(@Param("outsourcingGoodsId") Integer outsourcingGoodsId,@Param("page") Page page);
}